package ArryProTest;
//数组拷贝
public class ArrayCopy {
    public static void main(String[] args) {
        String[] s = {"阿里","京东","网易","腾讯"," 小米"};
        String[] sBak = new String[6];
        System.arraycopy(s,1,sBak,2,s.length-1);
        for (int i = 0; i < sBak.length ; i++) {
            System.out.println(sBak[i]+"\t");
        }
    }
}

